package common.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 描述
 *
 * @author 米泽鹏
 * @since 2024-1-20 下午 8:47
 */
@Getter
public enum MilestoneUnlockTypeEnum {

	ITEM(1, "物品"),

	BUILDING(2, "建筑"),

	RECIPE(3, "配方"),

	TEXT(4, "文本");

	/**
	 * 字段的值
	 */
	@EnumValue
	private final Integer value;

	/**
	 * 字段的描述
	 */
	private final String desc;

	MilestoneUnlockTypeEnum(Integer value, String desc) {
		this.value = value;
		this.desc = desc;
	}

}
